<div class="container">
	<div class="row">
		<div class="span6">
			<h1><?=$this->lang->line('login_welcome')?></h1>
			<p><?=$this->lang->line('login_desc')?></p>
			<?php
			/*
			<div>
				<?php if(!$fb_data['me']): ?>
				Please login with your FB account: <a href="<?php echo $fb_data['loginUrl']; ?>">login</a>

				<?php print_r($fb_data); ?>

				<div class="fb-login-button" data-show-faces="false" data-width="100" data-max-rows="1" data-scope="email,user_birthday,publish_stream">
				</div>
				<?php else: ?>
				<img src="https://graph.facebook.com/<?php echo $fb_data['uid']; ?>/picture" alt="" class="pic" />
				<p>Hi <?php echo $fb_data['me']['name']; ?>,<br />
				<a href="<?php echo $fb_data['logoutUrl']; ?>">logout</a>
				</p>
				<pre><?php print_r($fb_data); ?></pre>
				<?php endif; ?>
			</div>
			*/
			?>

		</div>
		<div class="span6">
			<form action="" class="form-horizontal" method="post">
				<fieldset>
					<legend><?=$this->lang->line('login')?></legend>
					<div class="control-group">
						<label for=""><?=$this->lang->line('email')?>:</label>
						<div class="controls">
							<input name="email" type="text" />
							<span class="help-inline"><? echo form_error('email'); ?></span>
						</div>
					</div>
					<div class="control-group">
						<label for=""><?=$this->lang->line('password')?>:</label>
						<div class="controls">
							<input name="password" type="password" />
							<span class="help-inline"><?php echo form_error('password'); ?></span>
						</div>
					</div>
					<div class="form-actions">
						<input class="btn-primary" name="login" type="submit" value="<?=$this->lang->line('login')?>" />
					</div>
				</fieldset>
			</form>
		</div>
	</div>
</div>